package com.hzhr.iot.statis.model.options;

import com.hzhr.iot.core.annotation.CygModel;
import com.hzhr.iot.core.annotation.CygProperty;
import com.hzhr.iot.statis.entity.OptionsEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "OptionsModel", description = "选项模型")
@CygModel(entity = OptionsEntity.class)
public class OptionsModel {
    @ApiModelProperty(value = "说明 : 编号", required = true)
    @CygProperty(show = "", entityProp = "id")
    private Integer id;

    @ApiModelProperty(value = "说明 : 类型名称(show_info=true是展示)", required = true)
    @CygProperty(show = "_show_info", entityProp = "typeName")
    private String typeName;
    @ApiModelProperty(value = "说明 : 类型描述(show_info=true是展示)", required = true)
    @CygProperty(show = "_show_info", entityProp = "typeDes")
    private String typeDes;
    @ApiModelProperty(value = "说明 : 选项名称(show_info=true是展示)", required = true)
    @CygProperty(show = "_show_info", entityProp = "name")
    private String name;
    @ApiModelProperty(value = "说明 : 选项描述(show_info=true是展示)", required = true)
    @CygProperty(show = "_show_info", entityProp = "des")
    private String des;
    @ApiModelProperty(value = "说明 : 选项代码(show_info=true是展示)", required = true)
    @CygProperty(show = "_show_info", entityProp = "code")
    private String code;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getTypeDes() {
        return typeDes;
    }

    public void setTypeDes(String typeDes) {
        this.typeDes = typeDes;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDes() {
        return des;
    }

    public void setDes(String des) {
        this.des = des;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
}
